USE [MyCarat]
GO
/****** Object:  StoredProcedure [dbo].[sp_AddUserBasic]    Script Date: 05/30/2012 18:24:00 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
if exists(select * from sysobjects where id=object_id('sp_AddPic') )
        drop proc sp_AddPic
GO
create proc [dbo].[sp_AddPic]
  
   @ID varchar(35),
   @imgID varchar(35),
   @imgURL varchar(300)
   
   as 
   
   begin tran
   
   insert into pics(ID,imgID,imgURL)
   values(@ID, @imgID, @imgURL)
                                
                            
 commit tran 